//
//  ViewController.m
//  07-作业tabBar的自定义
//
//  Created by 王道林 on 16/7/23.
//  Copyright © 2016年 王道林. All rights reserved.
//

#import "ViewController.h"
#import "CustomView-tabBar.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view, typically from a nib.
    
    CustomView_tabBar *customView = [[CustomView_tabBar alloc] initWithFrame:self.view.frame];
    UIViewController *vc1 = [[UIViewController alloc] init];
    vc1.view.backgroundColor = [UIColor redColor];
    NSMutableArray *arr = @[vc1].mutableCopy;
    customView.arrOfVC = arr;
    
    [self.view addSubview:customView];
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
